Skip to content

feat(panels): panel buttons in each header, a narrower CAN Trace, column menu and two layout fixes - #88

Open
dinacaran wants to merge 6 commits into
mainfrom
claude/panel-buttons
Open

dinacaran wants to merge 6 commits into
mainfrom
claude/panel-buttons

Conversation

@dinacaran

Copy link
Copy Markdown
Collaborator

Summary

  • Panel buttons in each header. Maximise, undock and close always sit at the right end of a panel's own header, also when maximised or in a window of its own. The hover title, the mark on the top edge and Display ▸ Show panel titles are gone. Panels that share a place keep their row of tabs. The Table gets a header like the other panels, and right-clicking a header opens the panel menu.
  • Signal table columns. By default only Cursor 1, Cursor 2, their difference and Unit are shown; earlier column choices are reset once. Ticking a column leaves the menu open, and All, None and Defaults change every column at once.
  • CAN Trace. It can be made much narrower: its texts shorten with an ellipsis and its buttons fold under a » menu as room runs out. The "only the frames the search finds" button is a drawn funnel in both themes.
  • Fix: a panel that lay along several panels at once (the CAN Trace under the plot, the Table and an XY plot) returns along all of them when docked back or reopened, not under the time plot alone.
  • Fix: with an enum or bit signal plotted first, the signals added after it no longer draw squashed until the window is resized.

Testing

  • Full test suite passes; every new test was checked by planting the bug it guards against.
  • Checked in the running app on Windows: panels side by side, maximised, in their own window, the CAN Trace at its narrowest, light and dark themes, and the enum layout with ASC, BLF, CSV and MF4 files.

🤖 Generated with Claude Code

dinacaran and others added 6 commits November 29, 2026 16:47
…at gets narrow

- Signal table: by default only Cursor 1, Cursor 2, the cursor difference
  and Unit; column choices saved before this are reset once, then
  remembered as before. Ticking a column leaves the header menu open, and
  All, None and Defaults change every column at once.
- CAN Trace: the "only the frames the search finds" button is a drawn
  funnel in the colour of the button's text, switched on or off, in light
  and dark themes.
- CAN Trace: the status and cursor texts shorten with an ellipsis, and the
  header row folds its buttons under a » menu as room runs out, so a view
  beside the Trace can be widened over it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Brings in the CAN Trace fixes from main. Where both changed the Trace:
the Filter popup keeps itself on the screen, and opens under » while
Filter is folded into it; the header still refolds as it resizes, and
a right-click still picks a frame without moving Cursor 1.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The CAN Trace along the foot of the time plot, the Table and an XY plot
came back under the time plot alone: when docked back from its own
window, when closed and opened again, and when added after a restored
configuration named it. A panel's home kept only one neighbouring panel.

Homes now also keep every panel of that neighbour ('span'), and
PanelArea._neighbour finds the smallest part of the tab that holds them:
the whole tab means along its edge, and a run of places short of a whole
row is first gathered into a row of its own, so a panel that lay under
part of a row goes back under that part only. Homes without a span work
as before.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ach panel's header

A panel alone in its place shows its buttons in its own header, also when
maximised or in a window of its own, so no row is spent on a title. Panels
that share a place keep their row of tabs. The hover title, the mark on the
top edge and Display ▸ Show panel titles are gone. The Table gets a header
like the other panels, and right-clicking a header opens the panel menu.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…t once

With an enum or bit signal plotted first, the rows of the stacked plot shrank
to the height of its lane, and curve rows added afterwards shared those few
pixels until the window was resized. The rows now get the whole view again
each time they are laid out.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant